package com.thinkit.bigdata.web.model.sys;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class SysFileServerStatusExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public SysFileServerStatusExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andProvincecodeIsNull() {
            addCriterion("provinceCode is null");
            return (Criteria) this;
        }

        public Criteria andProvincecodeIsNotNull() {
            addCriterion("provinceCode is not null");
            return (Criteria) this;
        }

        public Criteria andProvincecodeEqualTo(String value) {
            addCriterion("provinceCode =", value, "provincecode");
            return (Criteria) this;
        }

        public Criteria andProvincecodeNotEqualTo(String value) {
            addCriterion("provinceCode <>", value, "provincecode");
            return (Criteria) this;
        }

        public Criteria andProvincecodeGreaterThan(String value) {
            addCriterion("provinceCode >", value, "provincecode");
            return (Criteria) this;
        }

        public Criteria andProvincecodeGreaterThanOrEqualTo(String value) {
            addCriterion("provinceCode >=", value, "provincecode");
            return (Criteria) this;
        }

        public Criteria andProvincecodeLessThan(String value) {
            addCriterion("provinceCode <", value, "provincecode");
            return (Criteria) this;
        }

        public Criteria andProvincecodeLessThanOrEqualTo(String value) {
            addCriterion("provinceCode <=", value, "provincecode");
            return (Criteria) this;
        }

        public Criteria andProvincecodeLike(String value) {
            addCriterion("provinceCode like", value, "provincecode");
            return (Criteria) this;
        }

        public Criteria andProvincecodeNotLike(String value) {
            addCriterion("provinceCode not like", value, "provincecode");
            return (Criteria) this;
        }

        public Criteria andProvincecodeIn(List<String> values) {
            addCriterion("provinceCode in", values, "provincecode");
            return (Criteria) this;
        }

        public Criteria andProvincecodeNotIn(List<String> values) {
            addCriterion("provinceCode not in", values, "provincecode");
            return (Criteria) this;
        }

        public Criteria andProvincecodeBetween(String value1, String value2) {
            addCriterion("provinceCode between", value1, value2, "provincecode");
            return (Criteria) this;
        }

        public Criteria andProvincecodeNotBetween(String value1, String value2) {
            addCriterion("provinceCode not between", value1, value2, "provincecode");
            return (Criteria) this;
        }

        public Criteria andDatepathIsNull() {
            addCriterion("datePath is null");
            return (Criteria) this;
        }

        public Criteria andDatepathIsNotNull() {
            addCriterion("datePath is not null");
            return (Criteria) this;
        }

        public Criteria andDatepathEqualTo(String value) {
            addCriterion("datePath =", value, "datepath");
            return (Criteria) this;
        }

        public Criteria andDatepathNotEqualTo(String value) {
            addCriterion("datePath <>", value, "datepath");
            return (Criteria) this;
        }

        public Criteria andDatepathGreaterThan(String value) {
            addCriterion("datePath >", value, "datepath");
            return (Criteria) this;
        }

        public Criteria andDatepathGreaterThanOrEqualTo(String value) {
            addCriterion("datePath >=", value, "datepath");
            return (Criteria) this;
        }

        public Criteria andDatepathLessThan(String value) {
            addCriterion("datePath <", value, "datepath");
            return (Criteria) this;
        }

        public Criteria andDatepathLessThanOrEqualTo(String value) {
            addCriterion("datePath <=", value, "datepath");
            return (Criteria) this;
        }

        public Criteria andDatepathLike(String value) {
            addCriterion("datePath like", value, "datepath");
            return (Criteria) this;
        }

        public Criteria andDatepathNotLike(String value) {
            addCriterion("datePath not like", value, "datepath");
            return (Criteria) this;
        }

        public Criteria andDatepathIn(List<String> values) {
            addCriterion("datePath in", values, "datepath");
            return (Criteria) this;
        }

        public Criteria andDatepathNotIn(List<String> values) {
            addCriterion("datePath not in", values, "datepath");
            return (Criteria) this;
        }

        public Criteria andDatepathBetween(String value1, String value2) {
            addCriterion("datePath between", value1, value2, "datepath");
            return (Criteria) this;
        }

        public Criteria andDatepathNotBetween(String value1, String value2) {
            addCriterion("datePath not between", value1, value2, "datepath");
            return (Criteria) this;
        }

        public Criteria andInputtimeIsNull() {
            addCriterion("inputTime is null");
            return (Criteria) this;
        }

        public Criteria andInputtimeIsNotNull() {
            addCriterion("inputTime is not null");
            return (Criteria) this;
        }

        public Criteria andInputtimeEqualTo(Date value) {
            addCriterion("inputTime =", value, "inputtime");
            return (Criteria) this;
        }

        public Criteria andInputtimeNotEqualTo(Date value) {
            addCriterion("inputTime <>", value, "inputtime");
            return (Criteria) this;
        }

        public Criteria andInputtimeGreaterThan(Date value) {
            addCriterion("inputTime >", value, "inputtime");
            return (Criteria) this;
        }

        public Criteria andInputtimeGreaterThanOrEqualTo(Date value) {
            addCriterion("inputTime >=", value, "inputtime");
            return (Criteria) this;
        }

        public Criteria andInputtimeLessThan(Date value) {
            addCriterion("inputTime <", value, "inputtime");
            return (Criteria) this;
        }

        public Criteria andInputtimeLessThanOrEqualTo(Date value) {
            addCriterion("inputTime <=", value, "inputtime");
            return (Criteria) this;
        }

        public Criteria andInputtimeIn(List<Date> values) {
            addCriterion("inputTime in", values, "inputtime");
            return (Criteria) this;
        }

        public Criteria andInputtimeNotIn(List<Date> values) {
            addCriterion("inputTime not in", values, "inputtime");
            return (Criteria) this;
        }

        public Criteria andInputtimeBetween(Date value1, Date value2) {
            addCriterion("inputTime between", value1, value2, "inputtime");
            return (Criteria) this;
        }

        public Criteria andInputtimeNotBetween(Date value1, Date value2) {
            addCriterion("inputTime not between", value1, value2, "inputtime");
            return (Criteria) this;
        }

        public Criteria andVoicecountIsNull() {
            addCriterion("voiceCount is null");
            return (Criteria) this;
        }

        public Criteria andVoicecountIsNotNull() {
            addCriterion("voiceCount is not null");
            return (Criteria) this;
        }

        public Criteria andVoicecountEqualTo(Integer value) {
            addCriterion("voiceCount =", value, "voicecount");
            return (Criteria) this;
        }

        public Criteria andVoicecountNotEqualTo(Integer value) {
            addCriterion("voiceCount <>", value, "voicecount");
            return (Criteria) this;
        }

        public Criteria andVoicecountGreaterThan(Integer value) {
            addCriterion("voiceCount >", value, "voicecount");
            return (Criteria) this;
        }

        public Criteria andVoicecountGreaterThanOrEqualTo(Integer value) {
            addCriterion("voiceCount >=", value, "voicecount");
            return (Criteria) this;
        }

        public Criteria andVoicecountLessThan(Integer value) {
            addCriterion("voiceCount <", value, "voicecount");
            return (Criteria) this;
        }

        public Criteria andVoicecountLessThanOrEqualTo(Integer value) {
            addCriterion("voiceCount <=", value, "voicecount");
            return (Criteria) this;
        }

        public Criteria andVoicecountIn(List<Integer> values) {
            addCriterion("voiceCount in", values, "voicecount");
            return (Criteria) this;
        }

        public Criteria andVoicecountNotIn(List<Integer> values) {
            addCriterion("voiceCount not in", values, "voicecount");
            return (Criteria) this;
        }

        public Criteria andVoicecountBetween(Integer value1, Integer value2) {
            addCriterion("voiceCount between", value1, value2, "voicecount");
            return (Criteria) this;
        }

        public Criteria andVoicecountNotBetween(Integer value1, Integer value2) {
            addCriterion("voiceCount not between", value1, value2, "voicecount");
            return (Criteria) this;
        }

        public Criteria andTxtcountIsNull() {
            addCriterion("txtCount is null");
            return (Criteria) this;
        }

        public Criteria andTxtcountIsNotNull() {
            addCriterion("txtCount is not null");
            return (Criteria) this;
        }

        public Criteria andTxtcountEqualTo(Integer value) {
            addCriterion("txtCount =", value, "txtcount");
            return (Criteria) this;
        }

        public Criteria andTxtcountNotEqualTo(Integer value) {
            addCriterion("txtCount <>", value, "txtcount");
            return (Criteria) this;
        }

        public Criteria andTxtcountGreaterThan(Integer value) {
            addCriterion("txtCount >", value, "txtcount");
            return (Criteria) this;
        }

        public Criteria andTxtcountGreaterThanOrEqualTo(Integer value) {
            addCriterion("txtCount >=", value, "txtcount");
            return (Criteria) this;
        }

        public Criteria andTxtcountLessThan(Integer value) {
            addCriterion("txtCount <", value, "txtcount");
            return (Criteria) this;
        }

        public Criteria andTxtcountLessThanOrEqualTo(Integer value) {
            addCriterion("txtCount <=", value, "txtcount");
            return (Criteria) this;
        }

        public Criteria andTxtcountIn(List<Integer> values) {
            addCriterion("txtCount in", values, "txtcount");
            return (Criteria) this;
        }

        public Criteria andTxtcountNotIn(List<Integer> values) {
            addCriterion("txtCount not in", values, "txtcount");
            return (Criteria) this;
        }

        public Criteria andTxtcountBetween(Integer value1, Integer value2) {
            addCriterion("txtCount between", value1, value2, "txtcount");
            return (Criteria) this;
        }

        public Criteria andTxtcountNotBetween(Integer value1, Integer value2) {
            addCriterion("txtCount not between", value1, value2, "txtcount");
            return (Criteria) this;
        }

        public Criteria andSucesscountIsNull() {
            addCriterion("sucessCount is null");
            return (Criteria) this;
        }

        public Criteria andSucesscountIsNotNull() {
            addCriterion("sucessCount is not null");
            return (Criteria) this;
        }

        public Criteria andSucesscountEqualTo(Integer value) {
            addCriterion("sucessCount =", value, "sucesscount");
            return (Criteria) this;
        }

        public Criteria andSucesscountNotEqualTo(Integer value) {
            addCriterion("sucessCount <>", value, "sucesscount");
            return (Criteria) this;
        }

        public Criteria andSucesscountGreaterThan(Integer value) {
            addCriterion("sucessCount >", value, "sucesscount");
            return (Criteria) this;
        }

        public Criteria andSucesscountGreaterThanOrEqualTo(Integer value) {
            addCriterion("sucessCount >=", value, "sucesscount");
            return (Criteria) this;
        }

        public Criteria andSucesscountLessThan(Integer value) {
            addCriterion("sucessCount <", value, "sucesscount");
            return (Criteria) this;
        }

        public Criteria andSucesscountLessThanOrEqualTo(Integer value) {
            addCriterion("sucessCount <=", value, "sucesscount");
            return (Criteria) this;
        }

        public Criteria andSucesscountIn(List<Integer> values) {
            addCriterion("sucessCount in", values, "sucesscount");
            return (Criteria) this;
        }

        public Criteria andSucesscountNotIn(List<Integer> values) {
            addCriterion("sucessCount not in", values, "sucesscount");
            return (Criteria) this;
        }

        public Criteria andSucesscountBetween(Integer value1, Integer value2) {
            addCriterion("sucessCount between", value1, value2, "sucesscount");
            return (Criteria) this;
        }

        public Criteria andSucesscountNotBetween(Integer value1, Integer value2) {
            addCriterion("sucessCount not between", value1, value2, "sucesscount");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}